package SpotTable;

import SpotList.SpotList;
import ch01Exercise.IString;

public interface ISpotTable {
    boolean isEmpty();
    int turnName2Id(IString name);
    IString getName(int id);
    IString getIntro(int id);
    void set(int id, IString name, IString intro);
    void insert(IString name, IString intro);
    int length();
    void remove(IString name);
    void removeAll();
    SpotList getData();
}
